Update grid tests to match
authorMatthias Clasen <mclasen@redhat.com>
Wed, 26 Oct 2011 03:20:37 +0000 (23:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 26 Oct 2011 03:21:13 +0000 (23:21 -0400)
The previous fix changed some test results here.

gtk/tests/grid.c

index 90be1fda2664e57c22e089eea3a56462300c97e0..845e51acf9a43e04ac353927c27d1b69df0e7e89 100644 (file)
@@ -39,7 +39,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 0);
+  g_assert_cmpint (left,   ==, -1);
   g_assert_cmpint (top,    ==, 0);
   g_assert_cmpint (width,  ==, 1);
   g_assert_cmpint (height, ==, 1);
@@ -53,7 +53,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 1);
+  g_assert_cmpint (left,   ==, 0);
   g_assert_cmpint (top,    ==, 0);
   g_assert_cmpint (width,  ==, 2);
   g_assert_cmpint (height, ==, 2);
@@ -70,7 +70,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 0);
+  g_assert_cmpint (left,   ==, -1);
   g_assert_cmpint (top,    ==, 1);
   g_assert_cmpint (width,  ==, 3);
   g_assert_cmpint (height, ==, 1);